//
//  SDSharedModel.m
//  SuperDoctor
//
//  Created by 年浩杰 on 16/7/7.
//  Copyright © 2016年 SD. All rights reserved.
//

#import "SDSharedModel.h"

@implementation SDSharedModel

- (instancetype)initWithDict:(NSDictionary *)dict {
    
    if (self = [super init]) {
        
        [self setValuesForKeysWithDictionary:dict];
    }
    return self;
}

+ (instancetype)modelWithDict:(NSDictionary *)dict {
    
    return [[self alloc] initWithDict:dict];
}

-(NSString *)description{
    
    return [NSString stringWithFormat:@"%@--%@--%@--%@--%@--",self.boyName,self.girlName,self.time,self.type,self.share];
}
@end
